package com.module.main.test;


import android.content.Context;

import com.orhanobut.logger.Logger;

import javax.inject.Inject;

import ren.nearby.http.di.HttpApi;

/**
 * Created by Administrator on 2018/5/4 0004.
 */


public class TemplateDaggerActAction implements TemplateDaggerActContract.Action {


    @Inject
    HttpApi mApi;
    @Inject
    Context context;

    TemplateDaggerActContract.View mView;  // 需要抽象出来
    @Inject
    TemplateDaggerActAction() {
//        mApi = api;
    }


    @Override
    public void dowApk() {
        Logger.e(mView == null ? " mView =  0 " : " mView = 1 ");
        Logger.e(mApi == null ? " mApi =  0 " : " mApi = 1 ");


    }




    @Override
    public void takeView(TemplateDaggerActContract.View view) {
        mView = view;
    }

    @Override
    public void dropView() {
        mView = null;
    }
}
